home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 33
/
Volume 33 - JOGO DISK .iso
/
Games
/
pin_ball_deluxe.swf
/
scripts
/
DefineSprite_372
/
frame_1
/
DoAction.as
Wrap
Text File
|
2007-01-15
|
1KB
|
33 lines
function action()
{
deltaSpeed = 0;
if(_root.flipLeft.upSegment.active == true)
{
if(_root.holdLeftTarget == _level0.ball && _root.holdLeftTargetIs != _level0.ball1 && _root.holdLeftTargetIs != _level0.ball2)
{
_root.ball._x = _X;
_root.ball._y = _Y;
_root.ball.speed = 0;
_root.leftHolded = 1;
_root.holdLeftTargetIs = _level0.ball;
}
else if(_root.holdLeftTarget == _level0.ball1 && _root.holdLeftTargetIs != _level0.ball && _root.holdLeftTargetIs != _level0.ball2)
{
_root.ball1._x = _X;
_root.ball1._y = _Y;
_root.ball1.speed = 0;
_root.leftHolded = 1;
_root.holdLeftTargetIs = _level0.ball1;
}
else if(_root.holdLeftTarget == _level0.ball2 && _root.holdLeftTargetIs != _level0.ball && _root.holdLeftTargetIs != _level0.ball1)
{
_root.ball2._x = _X;
_root.ball2._y = _Y;
_root.ball2.speed = 0;
_root.leftHolded = 1;
_root.holdLeftTargetIs = _level0.ball2;
}
}
}
stop();